import request from '@/utils/request'

// 背包发货
/**订单商品
 * @param {page,limit,keywords,status,add_time,user_id} data 
 * @returns 
 */

export function invoiceList(data) {
    return request({
        url: '/admin/delivery/deliveryList',
        method: 'post',
        data
    })
}

export function spliceInvoice(data) {
    return request({
        url: '/admin/delivery/splitOrder',
        method: 'post',
        data
    })
}

export function getDeliveryCompony(data) {
    return request({
        url: '/admin/order/getExpress',
        method: 'post',
        data
    })
}

export function delivery(data) {
    return request({
        url: '/admin/delivery/goDrive',
        method: 'post',
        data
    })
}

export function getInvoiceDetail(data) {
    return request({
        url: '/admin/delivery/orderDetails',
        method: 'post',
        data
    })
}